package org.beynet.jsonbinding.bind;

import java.util.ArrayList;
import java.util.List;

public class GlossaryList {
    
    
    @JSONElement(name="GlossEntry")
    public List<GlossaryEntry> getGlossaryEntry() {
        return entry;
    }
    
    
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((entry == null) ? 0 : entry.hashCode());
        return result;
    }
    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        GlossaryList other = (GlossaryList) obj;
        if (entry == null) {
            if (other.entry != null)
                return false;
        } else if (!entry.equals(other.entry))
            return false;
        return true;
    }
    
    private List<GlossaryEntry> entry = new ArrayList<>();
}
